package jumpingnotes.service.remoting;

import jumpingnotes.model.*;

public interface GroupService {
	
	public Result groupCreate(String memberID,String name, String intro, String image, String tag, String publicFlag);

	public Result groupUpdate(String groupID, String name, String intro, String publicFlag);
	
	public Result groupDelete(String groupID);
	
	public Result groupImageUpload(String memberID, String groupID, String image);
	
	public Result groupPrivacyUpdate(String memberID, String groupID, String publicFlag);
	
	public Result groupInfoUpdate(String memberID, String groupID, String name, String intro, String tag);
	
	public Result groupJoin(String memberID, String groupID);
	
	public Result groupInvite(String memberIDTo, String memberIDFrom, String groupID);
	
	public Result groupInviteConfirm(String memberIDTo, String groupMemberConfirmID);
	
	public Result groupInviteDelete(String memberIDTo, String groupMemberConfirmID);
	
	public Result groupAdminPromote(String memberID,String groupID);
	
	public Result groupAdminDemote(String memberID,String groupID);
	
	public Result groupTopicCreate(String memberID,String groupID, String title, String body);
	
	public Result groupTopicUpdate(String memberID,String groupTopicID, String title, String body);
	
	public Result groupTopicDelete(String memberID,String groupTopicID);
	
	public Result groupTopicCommentCreate(String memberID,String groupTopicID, String comment);
	
	public Result groupTopicCommentDelete(String memberID, String groupTopicCommentID);
	
	public Result groupTopicSticky(String memberID, String groupTopicID);
	
	public Result groupTopicUnsticky(String memberID, String groupTopicID);
	
	public Result isMemberOfGroup(String memberID, String groupID);
}
